export const MajongsConfig = {
    Atlas:"Mahjong/mahjong_pin:games-res-csmj-images-mahjong-",
}

//手牌区域配置games-res-csmj-images-mahjong-my_extra_0x21
export const MajongsHoldsConfig = {
    Holds:[
        {pos:{x:-358.5,y:0},offset:{x:83.5,y:0},last:{x:35,y:0},resouce:"my_hand_bg",cardPath:"my_extra_0x",showCard:true},
        {pos:{x:0,y:201},offset:{x:0,y:-26},last:{x:0,y:-40},resouce:"left_hand_back",cardPath:"my_out_0x",showCard:false}, 
        {pos:{x:257.5,y:0},offset:{x:-40,y:0},last:{x:-20,y:0},resouce:"oppo_hand_back",cardPath:"my_out_0x",showCard:false}, 
        {pos:{x:0,y:-172.5},offset:{x:0,y:26},last:{x:0,y:40},resouce:"right_hand_back",cardPath:"my_out_0x",showCard:false}, 
    ],
    Folds:[
        {pos:{x:-174,y:-57},offset:{x:37,y:40},resource:"my_out_bg",cardPath:"my_out_0x"},
        {pos:{x:-25,y:26.5},offset:{x:47.5,y:-30},resource:"left_right_out_bg",cardPath:"left_out_0x"},
        {pos:{x:159.5,y:34.5},offset:{x:-37.5,y:-42},resource:"my_out_bg",cardPath:"my_out_0x"},
        {pos:{x:22.6,y:-243.5},offset:{x:-47.5,y:30},resource:"left_right_out_bg",cardPath:"left_out_0x"},
    ],
}


export const MajongOpType = {
    chupai : 1,//出牌
    peng : 2,//碰
    gang : 3,//杠
    hu : 4,//胡
    pass : 5,//过
    duoxiang : 8 //一炮多响
}



